package com.computergames.server.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ModeSelectionRequestMessage extends Message implements HasJwtToken{
    int mode;
    String jwtToken;

    public ModeSelectionRequestMessage() {
    }

    /**
     * 0、训练模式
     * 1、比赛模式
     */
    public ModeSelectionRequestMessage(int mode, String jwtToken) {
        this.mode = mode;
        this.jwtToken = jwtToken;
    }

    @Override
    public int getMessageType() {
        return ModeSelectionRequestMessage;
    }


}
